package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("order_apply_affirm")
@ApiModel(value = "OrderApplyAffirm对象", description = "")
public class OrderApplyAffirm implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long orderId;

    @ApiModelProperty("1校长确认，2财务确认，3会计确认")
    private Integer type;

    @ApiModelProperty("确认日期")
    private LocalDate affirmDate;

    @ApiModelProperty("添加时间")
    private LocalDateTime createdAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public LocalDate getAffirmDate() {
        return affirmDate;
    }

    public void setAffirmDate(LocalDate affirmDate) {
        this.affirmDate = affirmDate;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "OrderApplyAffirm{" +
            "id=" + id +
            ", orderId=" + orderId +
            ", type=" + type +
            ", affirmDate=" + affirmDate +
            ", createdAt=" + createdAt +
        "}";
    }
}
